home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group01a.txt
/
000082_icon-group-sender _Fri Jun 30 12:31:59 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2002-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id MAA12426
for icon-group-addresses; Fri, 30 Jun 2000 12:31:08 -0700 (MST)
Message-Id: <200006301931.MAA12426@baskerville.CS.Arizona.EDU>
From: Kostas Oikonomou <oikonomou@att.com>
X-Newsgroups: comp.lang.icon
Subject: Approximate comparisons of reals
Date: Fri, 30 Jun 2000 11:32:55 -0400
X-Accept-Language: en
To: icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 550
I'm trying to write Icon procedures that implement the approximate <, >,
and =
relations for real numbers that are in Knuth Vol. 2, section 4.2.2, p.
218 in
the 2nd ed. I would like to put these in a library.
It seems to me that to write such procedures efficiently one needs
access to the floating
point representation of reals, i.e. fractional part and exponent.
Is it possible ro access the representation of reals in Icon? Or has
someone already written something like this?
Kostas